package com.xyazm.pay.api;

import com.xyazm.common.core.JsonResult;
import com.xyazm.pay.domain.dto.PayOrderDTO;
import com.xyazm.pay.domain.param.PayOrderParam;
import com.xyazm.pay.domain.param.PayRefundParam;
import com.xyazm.pay.domain.param.QueryTradeNoParam;

/**
 * 支付服务对外暴露的接口
 * @author xuyou
 * 2022/6/8 0008 21:35
*/
public interface IPayApi {

    /**
     * 支付订单 2.0
     * @author xuyou
     * 2022/6/16 0016 21:40
     * @param param
    */
    JsonResult<PayOrderDTO> payOrder(PayOrderParam param);


    /**
     * 订单退款 2.0
     * @author xuyou
     * @date: 2022/6/23 16:29
     * @param: param
     */
    JsonResult<Void> executeRefund(PayRefundParam param);

}
